package com.xbongbong.pro.app.pojo.dto;

import com.xbongbong.paas.pojo.dto.ApplicationAddDTO;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import java.util.List;

/**
 * 新建应用DTO
 * @author kaka
 * @time 2018-7-30 16:01
 */
@Setter
@Getter
@ToString
public class ApplicationAddBatchDTO extends BaseDTO {

    private static final long serialVersionUID = 8734855148675020248L;

    /**
     * 应用列表
     */
    @Valid
    private List<ApplicationAddDTO> appList;

    private Integer companyInit;

    public ApplicationAddBatchDTO() {
        companyInit = 0;
    }

}
